<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            
        </div>
        <div class="studentAdd">
           <fm:form method="post" modelAttribute="student">
			<!-- <input type="hidden" name="method" value="add"> -->
                <!--div的class 为error是验证错误，ok是验证成功-->
                <div>
                    <label for="name">学生名称：</label>
                   <fm:input path="name"/> 
				
                </div>
                <div>
                    <label for="age">年龄：</label>
                    <fm:input path="age"/> 
                </div>
                <div>
                    <label for="gender">性别：</label>
                    <fm:input path="gender"/> 
					
                </div>
                <div>
                    <label for="telephone">联系电话：</label>
                    <fm:input path="telephone"/> 
                </div>
                <div>
                    <label for="email">email：</label>
                    <fm:input path="email"/> 
                </div>
                <div>
                    <label for="classId">所属班级：</label>
                    <fm:input path="classId"/> 
                </div>
                <div class="providerAddBtn">
                    <input type="submit" name="add" id="add" value="保存">
					
                </div>
            </fm:form>
     </div>
</div>